<?php $this->load->view('layout/header');?>
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span12">
            <h3 class="page-title">工程部<small>机器列表</small></h3>
            <?php echo breadcrumb(array('工程部', 'website/grid'=>'机器列表', '推送订单')); ?>
        </div>
    </div>
    <?php echo execute_alert_message();?>
    <div class="row-fluid">
        <div class="span12">
            <div class="portlet box green">
                <div class="portlet-title">
                    <div class="caption"><i class="icon-plus-sign"></i>推送订单</div>
                    <div class="tools">
                        <a class="collapse" href="javascript:;"></a>
                        <a class="remove" href="javascript:;"></a>
                    </div>
                </div>
                <div class="portlet-body form">
                    <form class="form-horizontal line-form" action="<?php echo base_url('macs/sendOk') ?>" method="post" enctype="multipart/form-data">
                        <div class="control-group">
                            <label class="control-label"><em>* </em>机器名称</label>
                            <div class="controls">
                                <input type="text" name="mac_name" class="m-wrap large required" readonly="readonly"  value="<?php echo $mac_info->mac_name;?>"/>
                            </div>
                        </div>
                        
                        <div class="control-group">
                            <label class="control-label"><em>* </em>订单编号</label>
                            <div class="controls">
                                <input type="hidden" name="mac_id" value="<?php echo isset($mac_id)?$mac_id:'';?>"/>
                                <input type="text" name="order_id" class="m-wrap large required" />
                            </div>
                        </div>
                        <div class="form-actions">
                            <button class="btn green" type="submit"><i class="icon-ok"></i>推送</button>
                            <a href="<?php echo base_url('macs/grid') ?>">
                                <button class="btn" type="button">返回</button>
                            </a>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $this->load->view('layout/footer');?>